package com.wmlive.hhvideo.heihei.beans.splash;

import com.wmlive.hhvideo.heihei.beans.personal.ReportEntry;
import com.wmlive.networklib.entity.BaseResponse;

/**
 * Created by vhawk on 2017/5/22.
 */

public class InitResponse extends BaseResponse {
// "version": "1.0",
//         "comment": "初始化接口"

    private String version;
    private String comment;

    private UserUrl user;
    private OpusUrl opus;
    private MusicUrl music;
    private SocialUrl social;
    private TopicUrl topic;
    private SearchUrl search;
    private SysUrl sys;
    private Function function;
    private ReportEntry conf_data;
    private MessageUrl message;//消息

    public String getVersion() {
        return version;
    }

    public InitResponse setVersion(String version) {
        this.version = version;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public InitResponse setComment(String comment) {
        this.comment = comment;
        return this;
    }

    public UserUrl getUser() {
        return user;
    }

    public InitResponse setUser(UserUrl user) {
        this.user = user;
        return this;
    }

    public OpusUrl getOpus() {
        return opus;
    }

    public InitResponse setOpus(OpusUrl opus) {
        this.opus = opus;
        return this;
    }

    public MusicUrl getMusic() {
        return music;
    }

    public InitResponse setMusic(MusicUrl music) {
        this.music = music;
        return this;
    }

    public SocialUrl getSocial() {
        return social;
    }

    public InitResponse setSocial(SocialUrl social) {
        this.social = social;
        return this;
    }

    public TopicUrl getTopic() {
        return topic;
    }

    public InitResponse setTopic(TopicUrl topic) {
        this.topic = topic;
        return this;
    }

    public SearchUrl getSearch() {
        return search;
    }

    public InitResponse setSearch(SearchUrl search) {
        this.search = search;
        return this;
    }

    public SysUrl getSys() {
        return sys;
    }

    public InitResponse setSys(SysUrl sys) {
        this.sys = sys;
        return this;
    }

    public Function getFunction() {
        return function;
    }

    public InitResponse setFunction(Function function) {
        this.function = function;
        return this;
    }

    public ReportEntry getConf_data() {
        return conf_data;
    }

    public void setConf_data(ReportEntry conf_data) {
        this.conf_data = conf_data;
    }

    public MessageUrl getMessage() {
        return message;
    }

    public void setMessage(MessageUrl message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "InitResponse{" +
                "version='" + version + '\'' +
                ", comment='" + comment + '\'' +
                ", user=" + (user != null ? user.toString() : "null") +
                ", opus=" + (opus != null ? opus.toString() : "null") +
                ", music=" + (music != null ? music.toString() : "null") +
                ", social=" + (social != null ? social.toString() : "null") +
                ", topic=" + (topic != null ? topic.toString() : "null") +
                ", search=" + (search != null ? search.toString() : "null") +
                ", sys=" + (sys != null ? sys.toString() : "null") +
                ", function=" + (function != null ? function.toString() : "null") +
                ", message=" + (message != null ? message.toString() : "null") +
                '}';
    }
}
